import request from "@/utils/requestPro.js";
// 商户上传或修改产品
export function uploadProductApi(data) {
	return request({
		url: '/admin/channel/product/uploadProduct',
		method: 'post',
		data,
	});
}
// 查询商户上传过的产品

export function selectProductPageApi(params) {
	return request({
		url: '/admin/channel/product/selectProductPage',
		method: 'get',
		params,
	});
}

// 删除商户上传过的产品/api

export function deleteProductApi(params) {
	return request({
		url: '/admin/channel/product/deleteProduct',
		method: 'delete',
		params,
	});
}